[IA64] Fix infinite loop in fault handler if debugger is not connected
authorAlex Williamson <alex.williamson@hp.com>
Wed, 30 Jan 2008 18:13:29 +0000 (11:13 -0700)
committerAlex Williamson <alex.williamson@hp.com>
Wed, 30 Jan 2008 18:13:29 +0000 (11:13 -0700)
commit330759ba03067ca12f7036bffd44a7e8163d2136
tree740980b5721b51b70e889d443e0e722231dba1d2
parent4de7aa66a13edc8da8c48e6441168d19562f8bdc
[IA64] Fix infinite loop in fault handler if debugger is not connected

If xen is compiled with crash_debug=y and the debugger is not
connected, the fault handler enters infinite loop.  regs may
be on stack, so split the incrementing out of vcpu_increment_iip().

Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
xen/arch/ia64/vmx/vmx_fault.c
xen/arch/ia64/xen/faults.c
xen/arch/ia64/xen/vcpu.c
xen/include/asm-ia64/linux-xen/asm/ptrace.h